def w2f(device_name,device_config,ability):
    with open('%s.txt'%(device_name)+'_'+ability,'w') as F:
        F.write(device_config)
